<%= render :partial => 'submenu' %>
<div id="column-2" class="column" style="width: 75%">
		
	<div class="sidebar">
		<%= link_to_profile @owner.id, 'big' %>
		
		<ul>
			<li>
				<%= link_to "Als Freund hinzuf&uuml;gen", {:controller => :friend,
														  :action => :add,
														  :id => @owner.id},
														  {:method => :post,
														  :confirm => "Bist du dir sicher?"} %>
			</li>
			<li>
				<%= link_to "Feed abonnieren", :controller => :user,
											   :action => :feed,
											   :id => @owner.id %>
			</li>
			<li>
				<%= link_to "Nachricht schicken", :controller => :message,
											   	  :action => :new,
												  :id => @owner.id %>
			</li>
		</ul>
	</div>
	
	<div class="content">
		<h3>
			Profil von <br />
		    <strong> <%= h(@owner.name.to_s.humanize) %></strong>
		</h3>
		
		<h4><%= h(@owner.name.to_s.humanize) %> Daten</h4>
		<table>
			
			<tr>
				<td class="left-column">Geschlecht</td>
				<td class="right-column">
					<% if @profile.gender == "2" %>
					Frau
					<% else %>
					Mann
					<% end %>
				</td>
			</tr>
			
			<% if @profile.forename && @profile.surname %>
			<tr>
				<td class="left-column">Vor- und Nachname</td>
				<td class="right-column">
					<%= h(@profile.forename) %>
					<%= h(@profile.surname) %>
				</td>
			</tr>
			<% end %>
			
			<% if @profile.street %>
			<tr>
				<td class="left-column">Stra&szlig;e</td>
				<td class="right-column"><%= h(@profile.street) %></td>
			</tr>
			<% end %>
			
			<% if @profile.city %>
			<tr>
				<td class="left-column">Stadt</td>
				<td class="right-column"><%= h(@profile.city) %></td>
			</tr>
			<% end %>
			
		</table>
		
		<h4>Stammbars von <%= h(@owner.name.to_s.humanize) %></h4>
		<ul class="bar-list">
			<li class="item">
				
			</li>
		</ul>
		
		<h4>Neues von <%= h(@owner.name.to_s.humanize) %></h4>
		<ul class="user-feed">
			<li class="item"></li>
		</ul>
	</div>

</div>